diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-29 21:40:03 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-03 19:53:07 +0200 |
commit | 3c17d2eb819ea80229746d17404e49717b90c657 (patch) | |
tree | 0af4a519f0cc5f9773394defd54e29c4d34f8030 | |
parent | 3958828af8ee5cc046c664d8d8e483314eac06cb (diff) |
Update the git-archive export options
The .gitattributes and .gitignore files do not need to be present in
packaged sources, as they are for people using the Git repository.
People who download tarballs usually don't reimport into Git -- they
should just download the actual repositories.
Meanwhile, the .tag file is quite useful. Instead of making Git extract
to the useless SHA-1 of the $n string, ask git-archive to store
the SHA-1 of the commit being packaged.
Change-Id: I82b992ba9121615c96f4db686b17d62099998b71
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r-- | .gitattributes | 3 | ||||
-rw-r--r-- | .tag | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..a96f8f5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +.tag export-subst +.gitignore export-ignore +.gitattributes export-ignore @@ -0,0 +1 @@ +$Format:%H$ |